package com.wk.code.wkserver.controller.app;

import com.wk.code.wkserver.request.admin.NotifyRequest;
import com.wk.code.wkserver.response.result.R;
import com.wk.code.wkserver.service.INotifyService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.*;

/**
 * @author wq
 * @version 1.0
 * @date 2021/06/15 14:44
 */
@RestController
@RequestMapping("/notify")
@AllArgsConstructor
@Api(tags = "admin-系统通知管理")
public class NotifyController {

    private final INotifyService notifyService;

    /**
     * 列表
     *
     * @return R
     */
    @GetMapping("/getList")
    private R getList() {
        return R.success(notifyService.getList());
    }


}
